#include<iostream>
/*标准化开发模块测试代码
#include"common/mylib.h"
#include"common/util.h"
int main() {
	std::string srg="This is CMake_Hansan_Test Mian";
	std::cout << srg << std::endl;
	common::mylib item;
	item.SayHello();
	common::util it2;
	it2.ShowUtil();
	return 0;
}
*/

//#include"performance_monitoring/GetBoxStatusFactory.h"
//#include"performance_monitoring/functionMenu.h"
//int main() {
//	std::shared_ptr<performance_monitoring::functionMenu> menu;
//	menu = performance_monitoring::GetBoxStatusFactory::getFunctionMenu();
//	printf("npu: %.2f%\n", menu->getNpu());
//	printf("mem: %.2f%\n", menu->getMem());
//	printf("swp: %.2f%\n", menu->getSwp());
//	return 0;
//}

//#include "DM_motor/GetDMFactory.h"
//#include "DM_motor/functionMenu.h"
//int main() {
//		std::shared_ptr<DM_motor::functionMenu> menu;
//		menu = DM_motor::GetDMFactory::getFunctionMenu();
//		menu->testMotor();
//	return 0;
//}

#include "test.h"
#include "hello.h"
#include "GetBoxStatusFactory.h"
#include "functionMenu.h"

int main() {
	libtest::test tmp;
	tmp.showTest();
	libtest::hello tmp2;
	tmp2.showHello();
	std::shared_ptr<libsysmonitor::functionMenu> menu;
	menu = libsysmonitor::GetBoxStatusFactory::getFunctionMenu();
	printf("npu: %.2f%\n", menu->getNpu());
	printf("mem: %.2f%\n", menu->getMem());
	printf("swp: %.2f%\n", menu->getSwp());
	return 0;
}
